import request from '@/utils/request'

export function getNotesAll(userId){
  return request({
    url: `/myNotes/queryAllNotes/${userId}`,
    method: 'get',

  })
}

export function updateNotesById(notes){
  return request({
    url: `/myNotes/updateNotes`,
    method: 'put',
    data: notes
  })
}

export function addNotes(notes){
  return request({
    url: `myNotes/addNotes`,
    method: 'post',
    data: notes
  })
}



